<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${actTeam.id}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">队伍名称：</label>
								<div class="col-sm-8">
									<input id="name" name="name" th:value="${actTeam.name}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">创建人名称（队长）：</label>
								<div class="col-sm-8">
									<input id="createrName" name="createrName" th:value="${actTeam.createrName}" class="form-control" type="text" readonly>
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">创建时间：</label>
								<div class="col-sm-8">
									<input id="createDate" name="createDate" th:value="${#dates.format(actTeam.createDate, 'yyyy-MM-dd')}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">队伍形式:</label>
								<div class="col-sm-8">
									<label class="radio-inline"> <input type="radio"
										name="teamType" value="0" th:field="*{actTeam.teamType}"/> 双人队
									</label> <label class="radio-inline"> <input type="radio"
										name="teamType" value="1" th:field="*{actTeam.teamType}"/> 多人队
									</label>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">是否完成:</label>
								<div class="col-sm-8">
									<label class="radio-inline"> <input type="radio"
										name="status" value="0" th:field="*{actTeam.status}"/> 否
									</label> <label class="radio-inline"> <input type="radio"
										name="status" value="1" th:field="*{actTeam.status}"/> 是
									</label>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">是否已参赛:</label>
								<div class="col-sm-8">
									<label class="radio-inline"> <input type="radio"
										name="isAct" value="0" th:field="*{actTeam.isAct}"/> 否
									</label> <label class="radio-inline"> <input type="radio"
										name="isAct" value="1" th:field="*{actTeam.isAct}"/> 是
									</label>
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">队员列表：</label>
								<div class="col-sm-8">
									<ul th:each="user : ${actTeam.userList}">
										<li style="font-size: 17px"><a href="#" th:onclick="'javascript:preview('+${user.userId}+')'" th:text="${user.userName}"></a></li>
									</ul>
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/act/actTeam/edit.js">
	</script>
</body>
</html>
